package org.example.user.service;

import org.example.user.domain.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author scf
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2024-05-21 20:01:05
*/
public interface RoleService extends IService<Role> {

    List<Role> listAll(Role role);

    Role getByUserId(Integer userId);

    boolean updateRoleMenu(Role role);
}
